﻿using System;
namespace ElingOA6_Admin_DSJCJ.Model
{
	/// <summary>
	/// ItemRequisitionApply:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class ItemRequisitionApply
	{
		public ItemRequisitionApply()
		{
			FStatus="N";
		}
		#region Model
		/// <summary>
		/// 领用申请单ID
		/// </summary>
		public int FItemRequisitionApplyID
		{
			set;
			get;
		}
		/// <summary>
		/// 公司编码
		/// </summary>
		public string FEntityNo
		{
			set;
			get;
		}
		/// <summary>
		/// 申请部门编号
		/// </summary>
		public string FApplyDeptNo
		{
			set;
			get;
		}
        /// <summary>
        /// 申请部门名称
        /// </summary>
        public string FApplyDeptName
        {
            set;
            get;
        }
		/// <summary>
		/// 申请员工编号
		/// </summary>
		public string FApplyEmplNo
		{
			set;
			get;
		}
        /// <summary>
        /// 申请员工名称
        /// </summary>
        public string FApplyEmplName
        {
            set;
            get;
        }
		/// <summary>
		/// 申请事由
		/// </summary>
		public string FApplyReason
		{
			set;
			get;
		}
		/// <summary>
		/// 填报日期
		/// </summary>
		public DateTime? FApplyDate
		{
			set;
			get;
		}
		/// <summary>
		/// 填报IP
		/// </summary>
		public string FApplyIP
		{
			set;
			get;
		}
		/// <summary>
		/// 最后修改员工编号
		/// </summary>
		public string FUpdEmplNo
		{
			set;
			get;
		}
		/// <summary>
		/// 最后修改日期
		/// </summary>
		public DateTime? FUpdDate
		{
			set;
			get;
		}
		/// <summary>
		/// 最后修改日期
		/// </summary>
		public string FUpdIP
		{
			set;
			get;
		}
		/// <summary>
		/// 状态：
        ///N - 新单
        ///A - 审核通过
        ///R - 未通过
		/// </summary>
		public string FStatus
		{
			set;
			get;
		}

        /// <summary>
        /// 状态：
        ///N - 新单
        ///A - 审核通过
        ///R - 未通过
        /// </summary>
        public string FStatusStr
        {
            get{
                switch (FStatus)
                {
                    case "N":
                        return "新单";
                    case "A":
                        return "审核通过";
                    case "R":
                        return "未通过";
                }
                return "";
            }
        }

		/// <summary>
		/// 填报员工编号
		/// </summary>
		public string FInsEmplNo
		{
			set;
			get;
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? FAuditDate
		{
			set;
			get;
		}
		/// <summary>
		/// 
		/// </summary>
		public string FAuditEmplNo
		{
			set;
			get;
		}

		/// <summary>
		/// 
		/// </summary>
		public string FAuditIP
		{
			set;
			get;
		}
        /// <summary>
        /// 
        /// </summary>
        public string Counts
        {
            set;
            get;
        }
        public string FDeptName
        {
            get;
            set;
        }

        public string FEmpName
        {
            get;
            set;
        }

		#endregion Model

	}
}

